package com.travel.server.manager.impl.youzan;

import com.travel.server.manager.impl.enums.OrderStateEnum;

/**
 * @Author: LiZhenhui
 * @Date: 2018/11/26 16:42
 * @Desc:
 */
public enum YouzanStateEnum {
    /**
     * 待付款
     */
    WAIT_BUYER_PAY("WAIT_BUYER_PAY", OrderStateEnum.WAIT_PAY.getState()),
    WAIT_SELLER_SEND_GOODS("WAIT_SELLER_SEND_GOODS", OrderStateEnum.WAIT_DELIVER.getState()),
    WAIT_BUYER_CONFIRM_GOODS("WAIT_BUYER_CONFIRM_GOODS", OrderStateEnum.DELIVERED.getState()),
    TRADE_SUCCESS("TRADE_SUCCESS", OrderStateEnum.COMPLETE.getState()),
    TRADE_CLOSED("TRADE_CLOSED", OrderStateEnum.CLOSE.getState()),
    TRADE_REFUND("TRADE_REFUND", OrderStateEnum.REFUND_ING.getState());

    private String status;

    private String orderState;

    YouzanStateEnum(String status, String orderState){
        this.status = status;
        this.orderState = orderState;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }
}
